// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

/** 此处后端没有提供注释 GET /workspace/businessData */
export async function businessData(options?: { [key: string]: any }) {
  return request<API.CommonResultBusinessDataVO>('/workspace/businessData', {
    method: 'GET',
    ...(options || {}),
  });
}

/** 付款订单总览 GET /workspace/overview */
export async function getOrderOverView(options?: { [key: string]: any }) {
  return request<API.CommonResultOrderOverViewVO>('/workspace/overview', {
    method: 'GET',
    ...(options || {}),
  });
}

/** 查询菜品总览 GET /workspace/overviewDishes */
export async function getDishOverView(options?: { [key: string]: any }) {
  return request<API.CommonResultDishOverViewVO>('/workspace/overviewDishes', {
    method: 'GET',
    ...(options || {}),
  });
}

/** 查询套餐总览 GET /workspace/overviewSetmeals */
export async function getSetMealOverView(options?: { [key: string]: any }) {
  return request<API.CommonResultSetmealOverViewVO>('/workspace/overviewSetmeals', {
    method: 'GET',
    ...(options || {}),
  });
}
